package com.atguigu.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.HashSet;

@Data
@AllArgsConstructor
@Builder
public class CategoryOrderBean {
    //窗口起始时间
    String stt;
    //窗口关闭时间
    String edt;
    //课程ID
    @TransientSink
    String courseId;
    //学科ID
    @TransientSink
    String subjectId;
    //类别ID
    String categoryId;
    //类别名称
    @Builder.Default
    String categoryName = "";
    //订单ID
    @TransientSink
    HashSet<String> orderIds;
    //用户ID
    @TransientSink
    String userID;
    //类别下单次数
    Long categoryOrderCount;
    //类别下单人数
    Long categoryOrderUserCount;
    //类别下单金额
    BigDecimal categoryOrderAmount;
    // 时间戳
    Long ts;
}
